package game;

import player.Player;

public class DAO{

	// get the object associated to the selected game
	public SuperGame getTypeOfGame(String kindOfGame , Player player) {

		switch (kindOfGame) {
		case "Rock-Paper-Scissors-Lizard-Spock":
			return new PaperRock(kindOfGame, player);
		case "Checkers":
			return new Checkers(kindOfGame, player);
		}
		
		return null;
	}
}
